package PackagesTests;

import ArithUtils.Array;
import ArithUtils.MyBoolean;

/**
 * A tester class for MyBoolean class.
 * 
 * @author Itamar Carmel
 *
 */
public class MyBooleanTest {
	
	public static void main(String [ ] args){
		MyBoolean mb1 = new MyBoolean(true);
		MyBoolean mb2 = new MyBoolean(false);
		System.out.println("mb1: " + mb1);
		System.out.println("mb2: " + mb2);
		if (mb1.isTrue())
			System.out.println("mb1 is TRUE");
		if (mb2.isTrue())
			System.out.println("mb2 is TRUE");
		Array<MyBoolean> mbArr = MyBoolean.setDefaultArray(10,4);
		System.out.println(mbArr);
		mbArr = MyBoolean.setDefaultArray(5,5);
		System.out.println(mbArr);
		mbArr = MyBoolean.setDefaultArray(7,0);
		System.out.println(mbArr);
	}

}
